* Remove troublesome double array
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 2 Aug 2005 14:37:39 +0000 (14:37 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 2 Aug 2005 14:37:39 +0000 (14:37 +0000)
includes/Database.php

index 6e8a992..54ea219 100644 (file)
@@ -718,7 +718,7 @@ class Database {
                        $from = '';
                }
 
-               list( $useIndex, $tailOpts ) = $this->makeSelectOptions( array($options) );
+               list( $useIndex, $tailOpts ) = $this->makeSelectOptions( $options );
 
                if( !empty( $conds ) ) {
                        if ( is_array( $conds ) ) {